package com.xbongbong.pro.priceset.pojo.dto;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.i18n.util.I18nMessageUtil;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Size;

@Setter
@Getter
@ToString
public class PriceProductSetSaveDTO extends BaseDTO {

    private static final long serialVersionUID = 4786978708669621470L;

    @NonNull
    private Long dataId;

    @Size(max = 200, message = "{dto.msg.listBatch.dataIdList.Size}")
    private JSONArray supplierProducts;

    /**
     * 是否导入 0：否，1：是
     */
    private Integer isImport;

}
